import { AppstoreOutlined, SafetyCertificateOutlined } from '@ant-design/icons';
import React from 'react';
import { NavLink, Outlet } from 'react-router-dom';
import './index.less';

export default function Manager() {
    return (
        <div className="manager">
            <div className="left">
                <ul>
                    <li>
                        <NavLink to="user">
                            <AppstoreOutlined />
                            <span>用户管理</span>
                        </NavLink>
                    </li>
                    <li>
                        <NavLink to="evaluate">
                            <SafetyCertificateOutlined />
                            <span>评教管理</span>
                        </NavLink>
                    </li>
                </ul>
            </div>
            <div className="right">
                <Outlet></Outlet>
            </div>
        </div>
    );
}
